<?php
/**
 * A helper class for formatting floats into correctly rounded prices
 * .i.e two decimal places
 */
class Zend_View_Helper_Price
{
    function price($price)
    {
        return round((float) $price, 2);
    }
}
